package com.laoli.remote;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: lfw
 * @Date: 2022/04/08/19:57
 * @Description:
 */
@Service
@FeignClient(name = "edu-order-boot",path = "order")
public interface OrderRemoteService {
    @GetMapping(value = "getOkOrderCouesrIds")
    List<Object> getOkOrderCouesrIds(@RequestParam(value = "userid") Integer userid);
}
